home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 1 / The Arsenal Files (Arsenal Computer).ISO / spitfire / spitfire.rec < prev    next >
Text File  |  1993-10-21  |  14KB  |  296 lines

  1.             There is certain information that is required for those interested
  2.         in writing utilities and other third party type programs for SPITFIRE.
  3.         Listed below are the Turbo Pascal record types that SPITFIRE uses.
  4.  
  5.             When a caller goes through a Door or uses any of the Sysop
  6.         configurable features from each menu, SPITFIRE creates a simple
  7.         text file named SFDOORS.DAT, SFMAIN.DAT, SFMESS.DAT or SFFILE.DAT in
  8.         the SPITFIRE HOME directory.  This text file contains necessary
  9.         information for the caller to return to SPITFIRE.  The text file is
  10.         erased when control is returned to SPITFIRE.  The following page
  11.         contains a list of the information written to each line of the text
  12.         file:
  13.  
  14.         Global record structure for SPITFIRE version 3.4.
  15.         Copyright 1993, Buffalo Creek Software - All rights reserved.
  16.  
  17.         Buffalo Creek Software
  18.         913 - 39th Street
  19.         West Des Moines, Iowa 50265
  20.  
  21.         (* SFDOORS.DAT *)
  22.         User Number (* the record number in SFUSERS.DAT of the caller       *)
  23.         User Name   (* the full name of the caller                          *)
  24.         Password    (* the password of the caller                           *)
  25.         First Name  (* the first name of the caller                         *)
  26.         Baud Rate   (* baud rate of the caller - i.e. 2400 { 0 if local }   *)
  27.         Comm port   (* COMM port being used by SPITFIRE                     *)
  28.         Time Left   (* number of minutes the caller has left this log-on    *)
  29.         Time        (* number seconds since midnight when entering the door *) 
  30.         Path        (* the path in which SPITFIRE.EXE resides {C:\SF\}      *)
  31.         Ansi_On     (* TRUE if caller is using ANSI else FALSE              *)
  32.         SecLevel    (* the security level of the caller                     *)
  33.         Uploads     (* the number of uploads the caller has made            *)
  34.         Downloads   (* the number of downloads the caller has made          *)
  35.         This Time   (* total number of minutes allowed for this call        *)
  36.         Time On     (* number of seconds since midnight when logged on      *)
  37.         Extra Time  (* number of seconds the caller has gained since log-on *)
  38.         Sysop Next  (* TRUE if Sysop next feature has been activated        *)
  39.         Front End   (* TRUE if SPITFIRE was booted from a front end program *)
  40.         No DTE Lock (* TRUE if configured for Software Data Flow Control    *)
  41.         MaxBaud     (* maximum baud of the system                           *)
  42.         ErrCorrect  (* TRUE if error correction connection                  *)
  43.         LastMConf   (* last message conference                              *)
  44.         LastFArea   (* last file area                                       *)
  45.         Node Number (* Node on which the caller is logged                   *)
  46.         DLs Per Day (* Number of files allowed to be downloaded per day     *)
  47.         DLs Today   (* Number of files the caller has downloaded this day   *)
  48.         Daily Bytes (* Number of downloadable bytes per day                 *)
  49.         Bytes Today (* Number of bytes the caller has downloaded this day   *)
  50.         TotalUK     (* Number of K bytes uploaded by the caller             *)
  51.         TotalDK     (* Number of K Bytes downloaded by the caller           *)
  52.         Phone #     (* The callers phone number                             *)
  53.         City/State  (* The callers city and state                           *)
  54.         Log On Time (* Number of minutes allowed per day                    *)
  55.         RIP_On      (* TRUE if caller is using RIP Graphics else FALSE      *)
  56.  
  57.  
  58.         TYPE
  59.           PrivSecArray  = Array[1..5] Of Integer;
  60.           UserDefaults  = (HotKey,Reserved,Pause);
  61.  
  62.           (* SFMSG[x].PTR *)
  63.         MessagePtr    = Record
  64.                           MDate            : String[17];
  65.                           FromWho,
  66.                           ToWho,
  67.                           OrgTo            : String[30];
  68.                           Subject          : String[40];
  69.                           NetMail,
  70.                           MsgSent,
  71.                           PurgeWhenSent,
  72.                           ThreadMsg,
  73.                           ThreadStart,
  74.                           Private,Deleted,
  75.                           Received         : Boolean;
  76.                           Where,
  77.                           NumberofRecords  : Word;
  78.                           Conference       : Integer;
  79.                           MsgNumber,
  80.                           OrgMsgNumber     : LongInt;
  81.                           FireNetReserved  : Array[0..40] Of Char;
  82.                           NetRoute         : String[16];
  83.                           Extra            : Array[0..23] Of Byte;
  84.                         End;
  85.  
  86.          (* SFMSG[x].IDX *)
  87.          MessageIdx    = Record
  88.                            FromWhoCRC,
  89.                            ToWhoCRC,
  90.                            MsgNumber,
  91.                            OrgMsgNumber : LongInt;
  92.                          End;
  93.  
  94.           (* SFMSG[x].DAT *)
  95.           MessageBody   = Record
  96.                             MsgData : String[127];
  97.                            End;
  98.  
  99.           (* SFFAREA.DAT *)
  100.           FileSystem    = Record
  101.                             FSec          : Integer;
  102.                             FDesc         : String[40];
  103.                             FilePath,
  104.                             UploadPath    : String[60];
  105.                             ShowToAll,
  106.                             FEqual,
  107.                             CDRom,
  108.                             SearchArea,
  109.                             FreeDLArea    : Boolean;
  110.                             PrivSec       : PrivSecArray;
  111.                             Extra         : Array[1..76] Of Byte;
  112.                          End;
  113.  
  114.           (* SFMCONF.DAT *)
  115.           MsgSystem     = Record
  116.                             MSec           : Integer;
  117.                             NetMailConf    : Boolean;
  118.                             MDesc          : String[40];
  119.                             MEqual,
  120.                             PublicMsgConf,
  121.                             AllowDelete,
  122.                             PackUnReceived : Boolean;
  123.                             DaysOld        : Word;
  124.                             DelOldThdMsg   : Boolean;
  125.                             NoOfLines      : Word;
  126.                             ReadOnly       : Boolean;
  127.                             PrivSec        : PrivSecArray;
  128.                             Extra          : Array[1..46] Of Byte;
  129.                             AllowNetRoute,
  130.                             MarkAsSent     : Boolean;
  131.                             NetIDName      : String[15];
  132.                           End;
  133.  
  134.           (* SFMSG[X].LMR *)
  135.           LastMessage   = Record
  136.                             LMsgRed : LongInt;
  137.                           End;
  138.  
  139.           (* SFUSERS.PTR *)
  140.           UsersPtr      = Record
  141.                             Name : String[30];
  142.                           End;                  
  143.  
  144.           (* SFUSERS.DAT *)
  145.           Users         = Record
  146.                             UserName,
  147.                             CallingFrom      : String[30];
  148.                             Password,
  149.                             TimeDate         : String[14];
  150.                             PhoneNumber      : String[12];
  151.                             BirthDate        : String[8];
  152.                             SecurityLevel    : Integer;
  153.                             Uploads,
  154.                             Downloads,
  155.                             TotalUK,
  156.                             TotalDK          : LongInt;
  157.                             TimesOn,
  158.                             TimeLeft,
  159.                             Last_M_Conf,
  160.                             Last_F_Area,
  161.                             TransPro         : Integer;
  162.                             Defaults         : Set Of UserDefaults;
  163.                             FirstLogDate     : String[8];
  164.                             SubscriptionDate : LongInt;
  165.                             ConfQueue        : Array[0..63] Of Byte;
  166.                             ExtraBytes       : Array[1..43] Of Byte;
  167.                             AllowPurge,
  168.                             BadLastOff,
  169.                             ScrollBack,
  170.                             Xpert,
  171.                             LockedOut,
  172.                             Deleted          : Boolean;
  173.                             Linelen,
  174.                             Pagelen,
  175.                             OnToday,
  176.                             Illegal,
  177.                             DLToday,
  178.                             ForeGround,
  179.                             FreeDLToday      : Byte;
  180.                             ExtraByte        : Byte;
  181.                             DLBytes          : LongInt;
  182.                             NewFCheck        : String[8];
  183.                             OrgSecurity,
  184.                             ChatsToday       : Integer;
  185.                             FileStr          : String[12];
  186.                             FileArea         : Word;
  187.                             DeleteFile       : Boolean;
  188.                             MsgsLeft         : Word;
  189.                             Extra            : Array[1..3] Of Byte;
  190.                           End;
  191.  
  192.           (* SFEVENTS.DAT *)
  193.           EventSchedule = Record
  194.                             Active    : Byte;
  195.                             DoneToday : Boolean;
  196.                             Time      : Real;
  197.                             WhichDay  : Byte;
  198.                           End;
  199.  
  200.           (* SFSYSTEM.DAT *)
  201.           SysRec        = Record
  202.                             NoInputTime   : Byte;
  203.                             CallsToday,
  204.                             MsgToday,
  205.                             UpToday,
  206.                             DownToday,
  207.                             DailyLimit,
  208.                             DailyLogons,
  209.                             LogonLimit,
  210.                             SysopSecurity,
  211.                             NUS,
  212.                             NUTL          : Word;
  213.                             UpDskSpace    : LongInt;
  214.                             MaxUsers      : Word;
  215.                             FileDescAmt   : Byte;
  216.                             SrchRomSFFILE : Boolean;
  217.                             DoorsAmt      : Integer;
  218.                             Callernum     : LongInt;
  219.                             LastDate      : String[8];
  220.                             StartDate     : String[18];
  221.                             DOSPassword   : String[28];
  222.                             SysopName,
  223.                             SysMsgName    : String[30];
  224.                             USPhone,
  225.                             ConvertDesc,
  226.                             HeySysop,
  227.                             AddUpedBy,
  228.                             CommentQue    : Boolean;
  229.                             NumberOfNodes : Byte;
  230.                             ExtraBoolean,
  231.                             BootUpTests,
  232.                             ScanAllMsg,
  233.                             OfferDefault  : Boolean;
  234.                             ViolationSec  : Integer;
  235.                             NUBirthDate,
  236.                             CompFileSrch,
  237.                             DrRetPassword,
  238.                             RIPAvailable,
  239.                             UseIntl       : Boolean;
  240.                             ExtraBytes    : Array[0..84] Of Byte;
  241.                           End;
  242.  
  243.           (* SFWHOSON.DAT *)
  244.           NodesDat      = Record
  245.                             UserNo : Integer;
  246.                             Mode   : Char;
  247.                             DBytes : Array[1..3] Of Byte;
  248.                           End;
  249.  
  250.           (* SFNODE.DAT *)
  251.           NodeSysRec    = Record
  252.                             DirectScrn,
  253.                             ShowResult,
  254.                             Nothing,
  255.                             PrinterOn,
  256.                             AnsiAvl,
  257.                             Private,
  258.                             SecondPassword,
  259.                             Page_On       : Boolean;
  260.                             MinimumBaud   : Word;
  261.                             MsgInfo,
  262.                             NewFileInfo,
  263.                             SoftControl,
  264.                             ErrChk        : Boolean;
  265.                             CorrectionMsg : String[3];
  266.                             WorkPath,
  267.                             DisplayPath,
  268.                             ExtranPath,
  269.                             MsgPath       : String[28];
  270.                             ModInitStr    : String[56];
  271.                             ComPort       : Word;
  272.                             RingNo,
  273.                             Node          : Byte;
  274.                             MaxBaud,
  275.                             ExtraLong     : LongInt;
  276.                             TimeComp      : Real;
  277.                             LastDate      : String[8];
  278.                             PrivateSec    : Integer;
  279.                             HangUpDelay   : Byte;
  280.                             UseHiSpeed,
  281.                             AvailBoolean  : Boolean;
  282.                             IRQ1,
  283.                             IRQ2,
  284.                             IRQ3,
  285.                             IRQ4,
  286.                             IRQ5,
  287.                             IRQ6,
  288.                             IRQ7,
  289.                             IRQ8          : Byte;
  290.                             BreakLen      : Word;
  291.                             ConnectMsg    : String[7];
  292.                             PreInitStr    : String[6];
  293.                             ExtraBytes    : Array[0..6] Of Byte;
  294.                             ColorMonitor  : Boolean;
  295.                           End;
  296.